namespace AutoTLBB
{
    using System;
    using System.Runtime.InteropServices;

    public class CreateHotKeys
    {
        public const int HOTKEY_ID = 0x79dd;
        public const int WM_HOTKEY = 0x312;

        [DllImport("user32.dll", SetLastError=true)]
        public static extern bool RegisterHotKey(IntPtr hWnd, int id, uint fsModifiers, uint vk);
        [DllImport("user32.dll", SetLastError=true)]
        public static extern bool UnregisterHotKey(IntPtr hWnd, int id);

        public enum KeyModifiers
        {
            Alt = 1,
            Control = 2,
            None = 0,
            Shift = 4,
            Windows = 8
        }
    }
}

